import 'package:flutter/material.dart';
import 'package:pkg_obz/export.dart';
import 'package:pkg_sand_clock/pkg_sand_clock.dart';

/// Create： Zhang 2021/8/19
/// ERP:     ext.zhangjunfei

class SandLockPage extends PageStateful<PageModel> {
  SandLockPage()
      : super(
          title: "沙漏加载",
          tag: "SandLockPage",
          pageModel: PageModel(),
        );

  @override
  Widget? content(BuildContext context) {
    return Center(
      child: SandClockLoading(
        //颜色
        color: Colors.redAccent,
        //大小
        size: 100,
        //一个动画周期时长
        duration: Duration(seconds: 5),
      ),
    );
  }
}
